﻿namespace OP10.ViewModels
{
    public class ST13DeviceManagerViewModel : BindableBase
    {
        private readonly IRegionManager _regionManager;

        public ST13DeviceManagerViewModel(IRegionManager regionManager)
        {
            _regionManager = regionManager;


        }


        #region 事件


        private DelegateCommand _GoBackCommand;

        public DelegateCommand GoBackCommand =>
            _GoBackCommand ?? (_GoBackCommand = new DelegateCommand(ExecuteGoBackCommand));

        void ExecuteGoBackCommand()
        {
            NavigationParameters param = new NavigationParameters();
            param.Add("StationName", "ST13");
            _regionManager.RequestNavigate(PrismManager.MainViewRegionName, AppViews.ST13View, param);
        }


        #endregion


        #region 属性  


        #endregion
    }
}
